package com.dl698.axdr;

import com.dl698.asn1.axdr.AxdrSequenceOf;
import com.dl698.util.ReverseByteArrayInputStream;
import com.dl698.util.ReverseByteArrayOutputStream;

import java.io.IOException;

/**
 * SubSeqOfDatas类
 * 实现数据序列的编解码
 * 
 * @author wind
 * @version 1.1.1
 */
public class SubSeqOfDatas extends AxdrSequenceOf<Data> {

    /**
     * 默认构造函数
     */
    public SubSeqOfDatas() {
        super();
    }

    @Override
    protected Data createListElement() {
        return new Data();
    }

    @Override
    public int encode(ReverseByteArrayOutputStream output) {
        return super.encode(output);
    }

    @Override
    public int decode(ReverseByteArrayInputStream input) {
        return super.decode(input);
    }
}